package com.esender.test.mapper;

import com.esender.test.entity.ClientBalance;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 返回用户余额即可
 */
@Repository
public interface ClientBalanceMapper {
    @Select("select * from client_balance where client_id = #{clientId}")
    ClientBalance findByClientId(@Param("clientId") Long clientId);
}
